# near model CODE resource # this CODE claims to have no jump table entries (but starts at 0008) 00000000 4E56 FF00 link A6, -0x0100 00000004 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 00000008 0C00 0002 cmpi.b D0, 0x2 0000000C 6600 005C bne +0x5E /* 0000006A */ 00000010 224A movea.l A1, A2 00000012 4EAD 002A jsr [A5 + 0x2A /* export_1 */] 00000016 0C40 0003 cmpi.w D0, 0x3 0000001A 6600 004E bne +0x50 /* 0000006A */ 0000001E 284A movea.l A4, A2 00000020 45EE FF00 lea.l A2, [A6 - 0x100] 00000024 2649 movea.l A3, A1 00000026 4EAD 0082 jsr [A5 + 0x82 /* export_12 */] 0000002A 2649 movea.l A3, A1 0000002C 4EAD 008A jsr [A5 + 0x8A /* export_13 */] 00000030 0C42 00FF cmpi.w D2, 0xFF 00000034 6E00 0034 bgt +0x36 /* 0000006A */ 00000038 14C2 move.b [A2]+, D2 0000003A 4EFA 0002 jmp [PC + 0x2 /* 0000003E */] label0000003E: 0000003E 14DB move.b [A2]+, [A3]+ 00000040 51CA FFFC dbf D2, -0x6 /* 0000003E */ 00000044 3C38 0A5A move.w D6, [0x00000A5A /* CurMap */] 00000048 486E FF00 pea.l [A6 - 0x100] 0000004C A9B1 syscall CreateResFile 0000004E 4267 clr.w -[A7] 00000050 486E FF00 pea.l [A6 - 0x100] 00000054 A997 syscall OpenResFile 00000056 3F06 move.w -[A7], D6 00000058 A998 syscall UseResFile 0000005A 0C57 FFFF cmpi.w [A7], 0xFFFF 0000005E 6700 0016 beq +0x18 /* 00000076 */ 00000062 389F move.w [A4], [A7]+ 00000064 4E5E unlink A6 00000066 7000 moveq.l D0, 0x00 00000068 4E75 rts label0000006A: 0000006A 4E5E unlink A6 0000006C 343C 000D move.w D2, 0xD /* '\r' */ 00000070 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00000074 4E75 rts label00000076: 00000076 4E5E unlink A6 00000078 343C 0005 move.w D2, 0x5 0000007C 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 00000080 4E75 rts 00000082 4E5E unlink A6 00000084 343C 000E move.w D2, 0xE 00000088 4EAD 0042 jsr [A5 + 0x42 /* export_4 */] 0000008C 4E75 rts